home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / hotop10.zip / HOTOP.DOC < prev    next >
Text File  |  1992-12-03  |  13KB  |  324 lines

  1. HOT OPERATOR --
  2.  
  3. Unattended PC Production Job Scheduling
  4.  
  5. Network Ready/Multi-User Capable
  6.  
  7.  
  8.  
  9. NOTES:
  10.  
  11. The application Hot Operator and this document are copyrighted by Joey
  12. Robichaux.
  13.  
  14. For ordering information, see the accompanying ORDER.FRM file.
  15.  
  16. Hot Operator is distributed as shareware -- this means I encourage users to
  17. share copies of this product with their associates for their evaluation.
  18. Users may freely use and evaluate Hot Operator.  However, after a 30 day
  19. evaluation period, you must purchase a copy of Hot Operator to continue
  20. use.
  21.  
  22. ASSOCIATION OF SHAREWARE PROFESSIONALS
  23.  
  24. This program is produced by a member of the Association of Shareware
  25. Professionals (ASP).  ASP wants to make sure that the shareware principle
  26. works for you. If you are unable to resolve a shareware-related problem
  27. with an ASP member by contacting the member directly, ASP may be able to
  28. help. The ASP Ombudsman can help you resolve a dispute or problem with an
  29. ASP member, but does not provide technical support for members' products.
  30. Please write to the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or
  31. send a CompuServe message via CompuServe Mail to ASP Ombudsman 70007,3536.
  32.  
  33.  
  34. Trademarks:
  35.  
  36. Dr. Switch is a trademark of Black and White International
  37. SwapDos is a trademark of Innovative Data Concepts.
  38.          
  39.  
  40.  
  41.  
  42.  
  43. WHAT IS HOT OPERATOR?
  44.  
  45.  
  46. What it's not -->  Hot Operator is NOT a menu program
  47.                    Hot Operator is NOT a wakeup routine.
  48.  
  49.  
  50. What it is    -->  Hot Operator runs production job schedules.  It can run
  51.                    jobs directly at the touch of a key, or it can schedule
  52.                    jobs to run a specific times or even certain days of
  53.                    the week.  It can schedule jobs to run at intervals --
  54.                    you may want a data collection routine to run every 30
  55.                    minutes.  It can also check for "successful" job
  56.                    completion.  If the job did not complete successfully, it
  57.                    can automatically be scheduled to run again.
  58.  
  59.                    Hot Operator runs multi-user on your network.  This lets
  60.                    you run Hot Operator on a dedicated PC at a remote user
  61.                    site, yet your technical operations staff can still
  62.                    maintain the job schedule in-house.
  63.  
  64. What it needs -->  Hot Operator uses a dedicated PC; it will not run in the
  65.                    background while the PC is used for other purposes.
  66.  
  67. What it does  -->  Hot Operator maintains a list of production jobs.  A job
  68.                    consists of a statement to be issued from a DOS prompt.
  69.                    This statement will be issued at the appropriately
  70.                    scheduled time.
  71.  
  72. Case Example:
  73.  
  74. ABC Industries recently installed a client-server based order taking
  75. system.  The information systems staff and the order-taking crew are in two
  76. separate buildings in two different cities.  However, all are attached to
  77. Novell networks connected via a WAN.
  78.  
  79. Users enter orders all day at their workstations; the databases live on a
  80. SQL SERVER database attached to the network.  At 4:30 pm each day, order
  81. takers leave for the day.  However, someone must run a set of production
  82. jobs that do posting, inventory maintenance, and management reporting.
  83.  
  84. Information Systems cannot run this production -- the databases are in a
  85. different city and communications over the WAN would be too slow.  The
  86. order-takers do not want to stay late to run the production schedule and
  87. local management does not want to hire an operations staff.
  88.  
  89. ABC Industries orders HOT OPERATOR and plans to run it on a dedicated
  90. work-station at the order-taker's site.  The HOT OPERATOR databases are
  91. installed on a subdirectory on the file server.  Since HOT OPERATOR data
  92. lives on the networked file server, Information Systems staff can build and
  93. maintain production schedules and jobs remotely via multi-user access.
  94. They schedule jobs to begin running at 11:00pm.
  95.  
  96. At 11:00pm, HOT OPERATOR kicks off the appropriate sequence of jobs.
  97. Certain jobs only run on Friday evenings, others run every weekday night.
  98. There's even a special cross-network upload that only runs on Sunday nights.
  99.  
  100. At first, the entire production schedule runs fine on the single dedicated
  101. PC.  As the production load grows, things get a little tight.  It's
  102. difficult for one workstation to complete the nightly production jobs.
  103.  
  104. Information Systems decides to try some "trickery" and "share" the
  105. night-time load among some of the idle workstations at the order-taker
  106. site.
  107.  
  108. They split the production schedule into three pieces.  Instead of adding
  109. two more copies of HOT OPERATOR, they write two batch files that check for
  110. the existence of a certain file.  If the file is not found, the batch file
  111. loops and then rechecks for the file.  When the file is detected, the batch
  112. file branches and begins a production schedule.  These two batch files are
  113. installed on two of the faster order-taker PC's.  When the order takers
  114. leave at 4:30, they start the batch files.
  115.  
  116. At 11:00 pm, HOT OPERATOR kicks off its production schedule.  The first
  117. thing it does is create the "certain file" the other two PC's are waiting
  118. for.  It then continues to run its part of the production schedule.  All
  119. three PC's are now in gear!
  120.  
  121. It takes Information Systems several days before they get the work schedule
  122. split up evenly enough to load all machines equally.  Since HOT OPERATOR is
  123. a networked application, this is quite easy to do!
  124.  
  125.  
  126.  
  127.  
  128. INSTALLING HOT OPERATOR:
  129.  
  130. HOT OPERATOR must run on a dedicated PC.  Although HOT OPERATOR will run in
  131. less than 640K conventional RAM, you should have at least 640K RAM
  132. installed, plus you should ideally have 1 to 2 meg of EMS/EEMS if you want
  133. to take advantage of memory swapping routines (discussed later).
  134.  
  135. Although HOT OPERATOR runs on a dedicated PC, it should be installed to a
  136. networked drive, not to the local drive.  If you install HOT OPERATOR on a
  137. local drive, you lose the ability for multiple users to access the same set
  138. of data.  HOT OPERATOR will work fine if installed on a local drive;
  139. however, you lose the benefits of multi-user access.
  140.  
  141. To install, create a HOT OPERATOR subdirectory on the appropriate drive.
  142. Copy all the HOT OPERATOR files to this subdirectory.
  143.  
  144. Make that subdirectory current if it is not.  Type "HOTOP" and press Enter.
  145.  
  146.  
  147. RUNNING HOT OPERATOR
  148.  
  149. Hot Operator is "pick list" driven.  It presents a scrolling pick list of
  150. currently defined jobs.
  151.  
  152. Use the up and down arrows to move the highlighted select bar up or down
  153. the picklist.  If you move all the way to the bottom of the window, the
  154. jobs will "scroll" to the next job.
  155.  
  156. Use the PgUp and PgDn keys to page forwards or backwards a screen at a
  157. time.  The Home key and the End key bring you to the first record or the
  158. last record in the list.
  159.  
  160. Insert new records by pressing the INSERT key; edit existing records by
  161. highlighting the record and pressing the ENTER key; delete existing records
  162. by highlighting a record and pressing the DELETE key.  You can "hot"
  163. execute a job by highlighting the existing record and pressing the F2 key.
  164. You can "quit" Hot Operator by pressing the ESCAPE key.
  165.  
  166.  
  167. JOB RECORDS
  168.  
  169. A Job record contains 13 fields.  They are:
  170.  
  171. Job:            A six character Job identifier.  This field controls the
  172.                 sort sequence in the scrolling picklist.  It is the first
  173.                 field that appears in the scrolling picklist.  Since HOT
  174.                 OPERATOR checks the jobs sequentially, you can use this
  175.                 field to fine-tune the sequence of job execution.
  176.  
  177. Desc:           A short job description.  This field also appears in the
  178.                 scrolling picklist.
  179.  
  180. DOS COMMAND:    The command to be issued at the scheduled time.  This can
  181.                 be any command you can issue at a DOS prompt.  For example,
  182.  
  183.                         DIR B:*.* /p    or
  184.                         C:\WORK\POSTING         or
  185.                         D:\LOTUS\LOTUS
  186.                         COMMAND /C DOALL.BAT
  187.  
  188.                 Most of the time, you'll probably create batch commands
  189.                 to start your jobs.  You should use the format shown above:
  190.                 "COMMAND /C FILENAME.BAT".
  191.  
  192.                 If your job needs more than a minimum of conventional RAM,
  193.                 you should use a software memory swapping device (discussed
  194.                 later).
  195.  
  196. SMTWTFS:        These are seven different fields.  They correspond with the
  197.                 seven days of the week.  Place an "X" or a space in these
  198.                 fields.  Use an "X" if you which the job to run on that
  199.                 day; use a space to exclude the job from running that day.
  200.  
  201. TodoTime:       What time do you want the job to run?  Use a military 24:00
  202.                 clock, ie: 11:00 pm = 23:00.
  203.  
  204. Interval:       How often should the job run?  How many minutes between
  205.                 runs?  You can use this in combination with the TodoTime
  206.                 field -- for example, nothing will happen until the
  207.                 TodoTime, at which point the job will be scheduled to run
  208.                 every "Interval" minutes.
  209.  
  210. Environ Var:    Do you want to check for successful completion?  If so, add
  211.                 a DOS statement to the end of your job that issues a SET to
  212.                 this environment variable.  For example,
  213.  
  214.                         SET RANOKAY=T
  215.  
  216.                 Set this variable to T for success, or anything else for
  217.                 failure.  Enter this variable name in the Environment
  218.                 Variable field.  Hot Operator checks whether or not this
  219.                 variable is set to T.  If not, Hot Operator reschedules the
  220.                 job to run again in a few minutes.
  221.  
  222.  
  223. MEMORY SWAPPING
  224.  
  225. When Hot Operator executes a job, it "shells" to DOS and issues the
  226. command.  When Hot Operator "shells" to DOS, it leaves a copy of itself in
  227. conventional RAM.  This means you'll usually have much less than 640K in
  228. which to run your production jobs.  In fact, all you'll normally be able to
  229. do are some simple DOS commands.
  230.  
  231. Because of this, Hot Operator supports the use of software memory swapping
  232. devices.  These are third party products; you can use the product that
  233. works best with your configuration.
  234.  
  235. Two popular memory swapping products are Dr. Switch by Black and White
  236. International and SwapDos by Innovative Data Concepts.  SwapDos is a
  237. shareware product.  Both allow memory swapping to various places (expanded
  238. memory, extended memory, or even hard disk space)
  239.  
  240. Here are examples of both products:
  241.  
  242.  
  243. USING DR. SWITCH
  244.  
  245. Install Dr. Switch and make sure a copy of DRSWITCH.EXE is accessible from
  246. the Hot Operator subdirectory.  To memory swap using Dr. Switch, enter the
  247. DOS COMMAND in the Hot Operator record like this:
  248.  
  249.                 DRSWITCH xyz
  250.  
  251. This command will use Dr. Switch to swap Hot Operator out of conventional
  252. RAM.  It then executes the job "xyz".  When "xyz" is finished, Dr. Switch
  253. swaps Hot Operator back into conventional RAM.  This frees up the maximum
  254. available conventional RAM.
  255.  
  256. You can use Dr. Switch to execute .EXE and .COM files; you can also execute
  257. batch files.  You don't need to use any type of EXIT command at the end of
  258. your job; ordinary job termination returns control to Hot Operator.
  259.  
  260.  
  261. USING SWAPDOS
  262.  
  263. SwapDos is slightly more flexible than Dr. Switch.  SwapDos will let you
  264. set "marks" in memory; you can then swap everything after a certain mark.
  265. This lets you do things like temporarily removing unneeded TSR's.
  266.  
  267. You can also use SwapDos without marks.  To do this, enter this command in
  268. the DOS COMMAND field:
  269.  
  270.                         SWAPDOS xyz
  271.  
  272. This swaps Hot Operator out of conventional ram and then executes the
  273. program "xyz".
  274.  
  275.  
  276.  
  277. SECURITY MODE
  278.  
  279. Some sites need to "protect" the job definitions; they don't want anyone
  280. editing the job definitions other than approved people.
  281.  
  282. To lock Hot Operator out of edit mode, just begin Hot Operator with any
  283. dummy parameter.  For example:
  284.  
  285.                 HOTOP X
  286.  
  287. This will ignore all edit, insert, or delete requests.  The job scheduling
  288. will still occur, and users can still "hot" execute jobs by highlighting
  289. them and pressing ENTER.
  290.  
  291.  
  292.  
  293. ADDRESSES:
  294.  
  295. For more information on Dr. Switch:
  296.  
  297.         Black and White International
  298.         P. O. Box 1040
  299.         Planetarium Station
  300.         New York, N.Y.  10024-0541
  301.         phone: (212) 787-6633
  302.  
  303.  
  304. For more information on SwapDos:
  305.  
  306.         Innovative Data Concepts
  307.         1657 The Fairways
  308.         Suite 101
  309.         Jenkintown, PA 19046
  310.         voice: (215)443-9705
  311.         fax:   (215)443-9753
  312.         Compuserve: 75300,564
  313.  
  314.  
  315. SHAREWARE
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.